from building import * 
import os
import rtconfig

# get current dir path
cwd = GetCurrentDir()

src  = Glob('src/*.c')
inc = [cwd]
inc += [cwd + '/inc']

if GetDepend(['USER_USING_BLEOTA_SAMPLE']):
    src += Glob('example/*.c')

group = DefineGroup('func/bleota', src, depend = ['USER_USING_BLEOTA'], CPPPATH = inc)
Return('group')
